home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AI Game Programming Wisdom
/
AIGameProgrammingWisdom.iso
/
SourceCode
/
06 General Architectures
/
04 Christian
/
gametime.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2001-09-11
|
302 b
|
25 lines
#ifndef _GAMETIME_H_
#define _GAMETIME_H_
#include "time.h"
class GameTime
{
public:
GameTime();
void start ();
void end ();
static double dt;
private:
time_t m_startTime;
time_t m_endTime;
double m_elapsedTime;
};
#endif